import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
// 引入全局的css样式
import 'antd/dist/antd.min.css'
import { BrowserRouter as Router } from 'react-router-dom'
// 导入antd中文包
import zhCN from 'antd/lib/locale/zh_HK'
import { ConfigProvider } from 'antd'
// 导入store
import store from './store/index'
// 导入provider
import { Provider } from 'react-redux'
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  // <React.StrictMode>
  <Router>
    <ConfigProvider locale={zhCN}>
      <Provider store={store}>
        <App />
      </Provider>
    </ConfigProvider>
  </Router>
  // </React.StrictMode>
)
